package com.d0311;

import java.util.Scanner;

import static com.d0311.TypeEnum.RED;
import static com.d0311.TypeEnum.YELLOW;


public class EnumEntity {

        public static void main(String[] args) {

            switch (RED){
                case RED:
                    System.out.println("红灯停");
                    break;
                case YELLOW:
                    System.out.println("等等等");
                    break;
                case GREEN:
                    System.out.println("绿灯行");
                    break;
            }
        }


}
